<?php

class UnsupportedOperationException extends Exception {
	private $operation;
	
	public function __construct($operation){
		parent::__construct("The selected operation is unsupported - Operation: " . $operation);
		
		$this->setOperation($operation);
	}
	
	private function setOperation($operation){
		$this->operation = $operation;
	}
	public function getOperation(){
		return $this->operation;
	}
}

?>
